package com.wupo.common.vo;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * PageParam 分页参数
 *
 * @author wupo
 * @since 2020-02-23
 */
@Data
@ApiModel(value = "PageParam", description = "分页参数")
public class PageVo {

    private static final long serialVersionUID = -5099378457111419832L;

    @ApiModelProperty(value = "当前前记录起始索引")
    private Integer pageNum;

    @ApiModelProperty(value = "每页显示记录数")
    private Integer pageSize;

    @ApiModelProperty(value = "排序列")
    private List<OrderItem> orders;
}
